﻿<%@ Page Title="Добавить сотрудника" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AddInstructor.aspx.cs" Inherits="DepartmentOnline.AddInstructor" %>

<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Title %>.</h1>
            </hgroup>
        </div>
    </section>
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <article>
        <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0"  SideBarStyle-VerticalAlign="Top"  SkipLinkText="" SideBarStyle-Wrap="False" OnFinishButtonClick="FinishButton_Click" DisplaySideBar="False">
<SideBarStyle VerticalAlign="Top" ></SideBarStyle>
            <WizardSteps>
                <asp:WizardStep ID="WizardStep1" runat="server" Title="Введите информацию" StepType="Start">
                            <asp:Label ID="Label1" runat="server" Text="Имя сотрудника"/><br/>
                            <asp:TextBox ID="FIOTB" runat="server"/><br/>
                            <asp:Label ID="Label2" runat="server" Text="Электронная почта"/><br/>
                            <asp:TextBox ID="EmailTB" runat="server"/>
                </asp:WizardStep>
                <asp:WizardStep ID="WizardStep2" runat="server" Title="Добавьте фото" StepType="Finish">
                    <asp:FileUpload ID="PhotoUp" runat="server" />&nbsp;<asp:Button ID="UploadButton"
                        Text="Загрузить"
                        OnClick="UploadButton_Click"
                        runat="server"></asp:Button>
                    <hr />
                    <asp:Label ID="UploadStatusLabel"
                        runat="server">
                    </asp:Label>
                </asp:WizardStep>
                <asp:WizardStep runat="server" StepType="Complete" Title="Готово!" AllowReturn="False" >
                    <asp:Label ID="Label4" runat="server" Text="Добавлен сотрудник" /> <asp:Label ID="lbName" runat="server" Text="" /><br/>
                    <asp:Button ID="BackButton" runat="server" Text="Вернуться к списку" OnClick="RedirectBack"/>
                </asp:WizardStep>
            </WizardSteps>
        </asp:Wizard>
    </article>
    <aside>
    </aside>

</asp:Content>
